package com.dao.admin;

import com.bean.bo.AdminAdd;
import com.bean.bo.AdminLogin;
import com.bean.pojo.Admin;
import com.bean.pojo.User;

import java.util.List;

public interface AdminMapper {
    long selectByAdminLogin(AdminLogin adminLogin);
    List<Admin> selectAllAdmins();
    int deleteAdmin(Integer id);
    int addAdmin(Admin admin);
    Admin selectUpdateAdmin(Integer id);
    int updateAdmin( Admin admin);
    List<Admin> selectByConditions(Admin admin);
    List<Admin> selectByJointConditions(Admin admin);
    int changePassword(Admin admin);

}
